Measurement of esophageal pressure